package org.soulraven.games.memory.model;

public class Player {

	private final int number;
	private final String name;
	private int score;

	public Player(final int number, final String name) {
		super();
		this.number = number;
		this.name = name;
		this.score = 0;
	}

	/**
	 * @return the number
	 */
	public int getNumber() {
		return number;
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @return the score
	 */
	public int getScore() {
		return score;
	}

	/**
	 * @param score
	 *            the score to set
	 */
	public void setScore(final int score) {
		this.score = score;
	}

	@Override
	public String toString() {
		return name;
	}
}
